package com.zendaimoney.test.simulation.dto.request.allinpay.agrm.collect;

import lombok.Data;
import lombok.ToString;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

@XmlAccessorType(XmlAccessType.FIELD)
@Data
@ToString

/**
 * 协议支付交易request
 */

public class AgrmCollectReqBody {

    /**
     * 业务代码
     */
    @XmlElement(name = "BUSINESS_CODE")
    private String businessCode = "";

    /**
     * 商户代码
     */
    @XmlElement(name = "MERCHANT_ID")
    private String merchantId = "";

    /**
     * 提交时间,YYYYMMDDHHMMSS
     */
    @XmlElement(name = "SUBMIT_TIME")
    private String submitTime = "";

    /**
     * 协议号
     */
    @XmlElement(name = "AGRMNO")
    private String agrmno = "";

    /**
     * 账号
     */
    @XmlElement(name = "ACCOUNT_NO")
    private String accountNo = "";

    /**
     * 账号名
     */
    @XmlElement(name = "ACCOUNT_NAME")
    private String accountName = "";

    /**
     * 金额,整数，单位分
     */
    @XmlElement(name = "AMOUNT")
    private String amount = "";

    /**
     * 货币类型,人民币：CNY, 港元：HKD，美元：USD。不填时，默认为人民币。
     */
    @XmlElement(name = "CURRENCY")
    private String currency = "CNY";

    /**
     * 开户证件类型 0：身份证,1: 户口簿，2：护照,3.军官证,4.士兵证，5. 港澳居民来往内地通行证,6. 台湾同胞来往内地通行证,7.
     * 临时身份证,8. 外国人居留证,9. 警官证, X.其他证件
     */
    @XmlElement(name = "ID_TYPE")
    private String idType = "";

    /**
     * 证件号
     */
    @XmlElement(name = "ID")
    private String id = "";

    /**
     * 手机号
     */
    @XmlElement(name = "TEL")
    private String tel = "";

    /**
     * CVV2
     */
    @XmlElement(name = "CVV2")
    private String cvv2 = "";

    /**
     * 有效期
     */
    @XmlElement(name = "VAILDDATE")
    private String vailddate = "";

    /**
     * 自定义用户号,商户自定义的用户号，开发人员可当作备注字段使用
     */
    @XmlElement(name = "CUST_USERID")
    private String custUserId = "";

    /**
     * 交易附言,填入网银的交易备注
     */
    @XmlElement(name = "SUMMARY")
    private String summary = "";

    /**
     * 备注
     */
    @XmlElement(name = "REMARK")
    private String remark = "";
}
